package com.HeJing.对象数组相关;

/**
 * ClassName: Student
 * Package: com.HeJing.对象数组相关
 * Description:
 *  定义类Student, 包含三个属性: 学号number(int)，年级state(int), 成绩score(int)
 * @Author: HeJing
 * @Create: 2023-03-22 16:08
 * @Version: 1.0
 */
public class Student {
    // 属性:
    int number;
    int state;
    int score;

    // 方法:
    public String show(){
        return "学号: " + number + "\t年级: " + state + "\t分数: " + score;
    }


}









































